<?php

namespace mbilling\BillingBundle\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;

class OrdersSharedTarifForm extends AbstractType
{
    public function buildForm(FormBuilder $builder, array $options)
    {
        $builder->add('name', 'text');
        $builder->add('cost', 'text');
        $builder->add('hdd', 'text');
        $builder->add('cron_access', 'checkbox', array('required' => false));
        $builder->add('ftp_access', 'checkbox', array('required' => false));
        $builder->add('dns_access', 'checkbox', array('required' => false));
        $builder->add('email_access', 'checkbox', array('required' => false));
        $builder->add('mysql_access', 'checkbox', array('required' => false));
        $builder->add('backup_access', 'checkbox', array('required' => false));
        $builder->add('ssh_access', 'checkbox', array('required' => false));
        $builder->add('ssl_access', 'checkbox', array('required' => false));
        $builder->add('cgi_bin_access', 'checkbox', array('required' => false));
        $builder->add('perl_php_access', 'checkbox', array('required' => false));
        $builder->add('anonymous_ftp_access', 'checkbox', array('required' => false));
        $builder->add('ftp_count', 'text', array('required' => false));
        $builder->add('mysql_count', 'text', array('required' => false));
        $builder->add('site_count', 'text', array('required' => false));
        $builder->add('trafic_count', 'text', array('required' => false));
        $builder->add('email_count', 'text', array('required' => false));
        $builder->add('domain_count', 'text', array('required' => false));
        $builder->add('is_active', 'checkbox', array('required' => false));
        $builder->add('add_ip_cost', 'text');
    }
}